package examples.session.stateless;

import javax.ejb.Stateless;

/**
 * Session Bean implementation class TaxRateBean
 */
@Stateless
public class TaxRateBean implements TaxRate {

	public double getTaxRate(String state) {
		if ("JAL".equalsIgnoreCase(state)) {
			return 16;
		}else {
			return 11;
		}
	}

}
